package com.jiazhong.shixi.bean.mapper;

import com.jiazhong.shixi.bean.bean.ShoppingCart;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ShoppingCartMapper {
    @Select("select * from shopping_cart where user_id=#{userId}")
    List<ShoppingCart> findByUserId(String user_id);
}
